/* 放置一些公共的样式,比如导航栏 */

/* 清除浏览器默认样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 给整体页面设置一个高度,让页面和浏览器窗口一样高 */
html, body {
    /* 设置页面高度和浏览器窗口一样高 */
    height: 100%;

    /* 设置一个背景图片 */
    background-image: url(../image/库里.jpg);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.nav {
    width: 100%;
    height: 60px;
    background-color: rgba(51,51,51,0.4);
    color: white;
    font-size: 20px;

    display: flex;
    align-items:center;
    justify-content: flex-start;
}

.nav img {
    width: 45px;
    height: 45px;

    border-radius: 50%;
    margin-left: 20px;
    margin-right: 10px;
}

.nav .spacer {
    width: 70%;
}

.nav a {
    padding: 0 10px;
    color: rgb(169, 204, 226);
    text-decoration: none;
}

.container {
    height: calc(100% - 50px);
    width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.container .left {
    height: 100%;
    width: 200px;

    /* background-color: orange; */
}

.container .right {
    height: 100%;
    width: 795px;

    /* background-color: blue; */   
    background-color: rgba(255,255,255,0.6);
}

.card {
    background-color: rgba(252, 252, 248, 0.6);
    border-radius: 10px;
    padding: 30px;
}
.card img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
}
.card h3 {
    text-align: center;
    padding: 10px;
}
.card a {
    display: block;
    text-align: center;
    color: #888;
    text-decoration: none;
    padding: 10px;

}
.card .counter {
    display: flex;
    justify-content: space-around;
    padding: 5px;
}

